facebook

fun facebook(accessToken: String): Credentials

Creates credentials representing a login using a Facebook access token.

This provider must be enabled on MongoDB Realm to work.

Return

a set of credentials that can be used to log into MongoDB Realm using App.login.

Parameters

accessToken

the access token returned when logging in to Facebook.